const main = require("../models");
const router = require("koa-router")();
router.get("/home",async ctx=>{
    var table = await main("member");
    var members = await table.find().toArray();
    console.log(members);
    await ctx.render("home",{members})
})

module.exports = router;